
// 自动生成模板Group
package produce
import (
	"time"
	"gorm.io/datatypes"
)

// 设备分组 结构体  Group
type Group struct {
  Id  *int `json:"id" form:"id" gorm:"primarykey;column:id;size:20;"`  //序号
  CreatedAt  *time.Time `json:"createdAt" form:"createdAt" gorm:"column:created_at;"`  //添加时间
  UpdatedAt  *time.Time `json:"updatedAt" form:"updatedAt" gorm:"column:updated_at;"`  //修改时间
  DeletedAt  *time.Time `json:"deletedAt" form:"deletedAt" gorm:"column:deleted_at;"`  //删除时间
  GroupLogotype  *string `json:"groupLogotype" form:"groupLogotype" gorm:"comment:分组标识;column:group_logotype;size:191;"`  //分组标识
  GroupName  *string `json:"groupName" form:"groupName" gorm:"comment:分组名称;column:group_name;size:191;"`  //分组名称
  Illustrate  datatypes.JSON `json:"illustrate" form:"illustrate" gorm:"comment:说明;column:illustrate;" swaggertype:"array,object"`  //说明
}


// TableName 设备分组 Group自定义表名 produce_group
func (Group) TableName() string {
    return "produce_group"
}





